Einhugur macOS Bridge plugin.

NSUserDefaults.ArrayForKey Method

Returns the array associated with the specified key.

ArrayForKey(
   key as String) as EinhugurCoreBridge.NSArray

Parameters

key
The key to get the array for.

Returns

EinhugurCoreBridge.NSArray
The array associated with the specified key, or nil if the key does not exist or its value is not an array.

Remarks

The returned array and its contents are immutable, even if the values you originally set were mutable.

See Also

NSUserDefaults Class